using Newtonsoft.Json;
/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "外协发货",TableName = "Ogsend")]
    public partial class Ogsend:BaseEntity
    {
        /// <summary>
       ///编号
       /// </summary>
       [Key]
       [Display(Name ="编号")]
       [JsonIgnore]
       [Column(TypeName="int")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public int Sdid { get; set; }

       /// <summary>
       ///外协编号
       /// </summary>
       [Display(Name ="外协编号")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string outsourcing_number { get; set; }

       /// <summary>
       ///外协单位
       /// </summary>
       [Display(Name ="外协单位")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string outsourcing_unit { get; set; }

       /// <summary>
       ///条码
       /// </summary>
       [Display(Name ="条码")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string barcode { get; set; }

       /// <summary>
       ///品名
       /// </summary>
       [Display(Name ="品名")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string product_name { get; set; }

       /// <summary>
       ///外协工序
       /// </summary>
       [Display(Name ="外协工序")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string outsourcing_process { get; set; }

       /// <summary>
       ///总数量
       /// </summary>
       [Display(Name ="总数量")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? total_quantity { get; set; }

       /// <summary>
       ///本次发货数
       /// </summary>
       [Display(Name ="本次发货数")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? current_shipment_quantity { get; set; }

       /// <summary>
       ///操作人
       /// </summary>
       [Display(Name ="操作人")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string Operator {get; set;}

       /// <summary>
       ///日期
       /// </summary>
       [Display(Name ="日期")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public DateTime operation_date { get; set; }

       
    }
}
